IdeaBlade.EntityModel.Compat Assembly > IdeaBlade.EntityModel Namespace > EntityQueryOperation<T> Class : EntityQueryOperation<T> Constructor |
'Declaration
Public Function New( _ ByVal query As IEntityQuery(Of T), _ ByVal callback As Action(Of EntityQueryOperation(Of T)), _ ByVal userState As Object, _ ByVal taskFunc As Func(Of CancellationToken,Task(Of QueryResult(Of T))) _ )
'Usage
Dim query As IEntityQuery(Of T) Dim callback As Action(Of EntityQueryOperation(Of T)) Dim userState As Object Dim taskFunc As Func(Of CancellationToken,Task(Of QueryResult(Of T))) Dim instance As New EntityQueryOperation(Of T)(query, callback, userState, taskFunc)
public EntityQueryOperation<T>( IEntityQuery<T> query, Action<EntityQueryOperation<T>> callback, object userState, Func<CancellationToken,Task<QueryResult<T>>> taskFunc )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2